// 引入二次封装后的request对象
import request from '@/utils/request.js'

// 定义登录接口调用的api

// 定义请求医生管理的分页查询api
export const reqDoctor = (data) => request.post('/doctor/selectConditionByPage', data);

// 定义添加医生信息api
export const insertDoctorInfo = (data) => request.post('/doctor/insert', data);

// 定义通过id查询医生信息的api
export const selectDoctorInfo = (data) => request.post('/doctor/selectById', data);

// 定义修改医生信息接口的api
export const updateDoctorInfo = (data) => request.post('/doctor/update', data);

// 根据 id 删除医生信息的api
export const deleteDoctorInfo = (data) => request.post('/doctor/deleteDoctorByIds', data);

// 定义通过医生 id 查询医生详细信息
export const detailDoctorInfo = (data) => request.post('/doctor/selectDoctorDetailById', data);


// 根据诊室id查询医生
export const deptSubDoctor = (data) => request.post('/doctor/selectDoctorsBySubId', data);





